package com.ruoyi.system.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 customer
 *
 * @author ruoyi
 * @date 2024-11-29
 */
public class Customer extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 客户表ID
     */
    private Long id;

    /**
     * 姓名
     */
    @Excel(name = "姓名")
    private String xm;
    @Excel(name = "客户编号")
    private Long consumerNo;

    /**
     * 手机号
     */
    @Excel(name = "手机号")
    private Long sjh;

    /**
     * 头像地址
     */
    @Excel(name = "头像地址")
    private String txdz;

    /**
     * 服务授权时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "服务授权时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date xxsqsj;

    /**
     * 操作人
     */
    @Excel(name = "操作人")
    private Long operator;

    @Excel(name = "客户来自")
    private String platform;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setXm(String xm) {
        this.xm = xm;
    }

    public String getXm() {
        return xm;
    }

    public void setSjh(Long sjh) {
        this.sjh = sjh;
    }

    public Long getSjh() {
        return sjh;
    }

    public void setTxdz(String txdz) {
        this.txdz = txdz;
    }

    public String getTxdz() {
        return txdz;
    }

    public void setXxsqsj(Date xxsqsj) {
        this.xxsqsj = xxsqsj;
    }

    public Date getXxsqsj() {
        return xxsqsj;
    }

    public void setOperator(Long operator) {
        this.operator = operator;
    }

    public Long getOperator() {
        return operator;
    }

    public Long getConsumerNo() {
        return consumerNo;
    }

    public void setConsumerNo(Long consumerNo) {
        this.consumerNo = consumerNo;
    }

    public String getPlatform() {
        return platform;
    }

    public void setPlatform(String platform) {
        this.platform = platform;
    }
}
